480880aacc611206a33734344bae90dffe078afa,src/test/java/de/otto/edison/hal/TraversonTest.java,TraversonTest,shouldFollowLink,#,91
Before Change
// when
final HalRepresentation hal = traverson(mock)
.startWith("/example")
.follow("foo")
.get();
// then
final Optional<Link> self = hal.getLinks().getLinkBy("self");
assertThat(self.isPresent(), is(true));
After Change
// when
final HalRepresentation hal = traverson(mock)
.startWith("/example")
.follow("foo")
.getResource()
.get();
// then
final Optional<Link> self = hal.getLinks().getLinkBy("self");
assertThat(self.isPresent(), is(true));